<%@ page language="java" pageEncoding="UTF-8" buffer="16kb"%>
<%@ include file="/base.jsp"%>
<%@ include file="/module/taglibs.jsp"%>
<%@ include file="/module/nocache.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<%@ include file="/module/js.jsp"%>
<%@ include file="/module/orderField.jsp"%>
<script type="text/javascript" src="${basePath}/js/jquery.Huploadify.js"></script>
<link href="${basePath}/css/Huploadify.css" rel="stylesheet">
	<style>
table label.error {
	margin-left: 5px;
	width: auto;
	display: inline;
	color: red;
}
</style>
<script>
$(document).ready(function() {
	
		$("#div1").dialog({
			width : 'auto',
			height : 'auto',
			bgiframe : true,
			modal : true,
			draggable : true,
			resizable : false,
			title : '选择负责人',
			autoOpen : false,
		    buttons : {
		    '取消' : function() {
		    	$(this).dialog('close');
			},
			'确定' : function() {
			  
			  if($("#fromSelect").val()==null||$("#fromSelect").val()==""){
				 alert("请选择一项");
				 return false;
			  }else{
				    var formSelect = document.getElementById("fromSelect");
				    var str = [];
				    var num=0;
				    for(i=0;i<formSelect.length;i++){
				        if(formSelect.options[i].selected){
				            //str.push(select[i].value);
				            num++;
				        }
				    }
				    if(num>=2){
				      layer.alert("只能选择一项", {icon: 6});
				      return false;
				    }
				  
				  var str=$("#fromSelect").val()+"";
				  var strs = str.split(","); 
				  for(i=0;i<strs.length;i++){
					  if(i==0){
						  $("#dbempid").val(strs[i]);
	                                 }
					  if(i==1){
						  $("#dbzgh").val(strs[i]);  
					  }
				  }
			     $("#xM").val($("#fromSelect").find("option:selected").text()); 
			     $("#gH").val($("#fromSelect").find("option:selected").val());
			     $("#empId").val($("#fromSelect").find("option:selected").val());		
				  $(this).dialog('close');
			  }	  
			}
		  }
		});
		
		
		var nations = ["汉族","蒙古族","回族","藏族","维吾尔族","苗族","彝族","壮族","布依族","朝鲜族","满族","侗族","瑶族","白族","土家族",
			        "哈尼族","哈萨克族","傣族","黎族","傈僳族","佤族","畲族","高山族","拉祜族","水族","东乡族","纳西族","景颇族","柯尔克孜族",
			        "土族","达斡尔族","仫佬族","羌族","布朗族","撒拉族","毛南族","仡佬族","锡伯族","阿昌族","普米族","塔吉克族","怒族", "乌孜别克族",
			        "俄罗斯族","鄂温克族","德昂族","保安族","裕固族","京族","塔塔尔族","独龙族","鄂伦春族","赫哲族","门巴族","珞巴族","基诺族"];
	    var nation = $("#mZ");
	    for ( var i=0;i<nations.length;i++) {
	        var a=nations[i];
	     /*    console.log(nations[i]); */
	        nation.append("<option value='"+a+"'>"+a+"</option>");
	    }
	
		var _form=$("#Form").validate();
		/* 保存  */
		$("#btnSave").click(function() {
			if(_form.form()){
				/*var xM = $('#xM').val();
			   	 $.ajax({
					  type: 'POST',
					  url: "${basePath}/dy/validation",
					  dataType:"json",
					  data:{"xM":xM},
					  success:function(data){
						if(xM == data.xM){
							 layer.alert('已有该党员', {icon: 5});
						     return false;
					   }else{*/
					    document.Form.action ="${basePath}/dy/update?action=1";
						document.Form.submit();
					/*   }
					 }
			     });   */
			}
		});
		/* 保存并新增  */
		$("#btnSaveContinue").click(function() {
			if(_form.form()){
				/*var xM = $('#xM').val();
			   	 $.ajax({
					  type: 'POST',
					  url: "${basePath}/dy/validation",
					  dataType:"json",
					  data:{"xM":xM},
					  success:function(data){
						if(xM == data.xM){
							 layer.alert('已有该党员', {icon: 5});
						     return false;
					   }else{*/
					    document.Form.action ="${basePath}/dy/update?action=2";
						document.Form.submit();
					/*   }
					 }
			     });   */
			}
		});
		/* 返回 */
		$("#returnBut").click(function() {
 			   window.location.href='${basePath}/dy/list';
 		});
		/*  取消 */
		$("#Cancel").click(function() {
			   window.location.href = "${basePath}/dy/add";
 		});
		
	});
	function showdiv() {
		$('#div1').dialog('open');
	}
</script>
</head>
<body>
	<form action="#" name="Form" id="Form" method="post">
		<input type="hidden" name="dYID" id="dYID" value="${PartyLeagueMember.dYID}" />
		<input type="hidden" name="empId" id="empId" value="${PartyLeagueMember.empId}"/>
		<table cellpadding="0" cellspacing="0" border="0" class="table-border"
			width="95%">
			<tr>
				<td class="table-header" colspan="4">党员信息</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="">
					<font style="color: red;">*</font>所在党支部:
				</td>
				<td class="table-contentTD" style="width: 35%">
				  <select id="dZBID" name="dZBID" class="inputText required" style="width: 70%">
						  <option value="${PartyLeagueMember.dZBID}">${PartyLeagueMember.partyBranch.dZBMC }</option> 
						<c:forEach items="${partyBranch}" var="partyBranch">
						   <option value="${partyBranch.zBID}">${partyBranch.dZBMC}</option>
						</c:forEach> 
				    </select>
				</td>
				<td class="table-titleTD" style="width: 15%"><font style="color: red;">*</font>加入党组织日期:</td>
				<td class="table-contentTD" style="width: 35%">
				    <input name="rDRQ" id="rDRQ"  placeholder="加入党组织日期" autocomplete="off"
					    class="Wdate required text" 
					     value="${PartyLeagueMember.rDRQ}"
					   onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
			    </td>
			</tr>
			 <tr>
				<td class="table-titleTD" style="width: 15%">
					<font style="color: red;">*</font>党员类别:
				</td>
				<td class="table-contentTD" style="width: 35%">
				       <c:if test="${PartyLeagueMember.dYLB == '1'}">
					   <input type="radio" value="1" name="dYLB" id="dYLB1" checked="checked" /><label for="dYLB1">正式党员</label>
					   <input type="radio" value="2" name="dYLB" id="dYLB2" /><label for="dYLB2">预备党员</label>
					   </c:if>
					   <c:if test="${PartyLeagueMember.dYLB == '2'}">
					   <input type="radio" value="1" name="dYLB" id="dYLB1" /><label for="dYLB1">正式党员</label>
					   <input type="radio" value="2" name="dYLB" id="dYLB2" checked="checked"/><label for="dYLB2">预备党员</label>
					   </c:if>
				</td>
				 <td class="table-titleTD" style="width: 15%">转正式党员日期:</td>
				<td class="table-contentTD" style="width: 35%">
				    <input name="zZRQ" id="zZRQ"  
				    placeholder="转正式党员日期" autocomplete="off"
				    value="${PartyLeagueMember.zZRQ}" class="Wdate inputText2"
					   onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
			    </td>
			</tr>
		    <tr>
			     <td class="table-titleTD" style="width: 15%"><font style="color: red;">*</font>姓名:</td>
			     <td class="table-contentTD" style="width: 35%">
				  <input
					type="text" id="xM" name="xM" value="${PartyLeagueMember.xM}" maxlength="100"  placeholder="姓名" class="inputText required" readonly="readonly" style="width: 60%"/>&nbsp&nbsp;
					<%--<input type="button" id="optionBtn" value="选择" class="inputButton" --%>
					<%--onclick="javascript:showdiv();" placeholder="请选择姓名"/>--%>
			    </td>	
			    <td class="table-titleTD" style="width: 15%">工号:</td>
			     <td class="table-contentTD"  style="width: 35%">
				  <input type="text" id="gH" value="${PartyLeagueMember.gH}" name="gH" class="inputText"  placeholder="工号"  maxlength="100" />
			    </td>			
			</tr>
			<tr>
			     <td class="table-titleTD" style="width: 15%"><font style="color: red;">*</font>性别:</td>
			     <td class="table-contentTD" style="width: 35%">
			           <c:if test="${PartyLeagueMember.xB == '男'}">
			               <input type="radio" value="男" name="xB" id="xB1" checked="checked"/><label  for="xB1">男</label>
					   <input type="radio" value="女" name="xB" id="xB2"/><label for="xB2">女</label>
			           </c:if>
			           <c:if test="${PartyLeagueMember.xB == '女'}">
			               <input type="radio" value="男" name="xB" id="xB1"/><label for="xB1">男</label>
					   <input type="radio" value="女" name="xB" id="xB2" checked="checked"/><label for="xB2">女</label>
			           </c:if>
				</td>
				 <td class="table-titleTD" style="width: 15%">籍贯:</td>
			     <td class="table-contentTD" style="width: 35%">
				  <input type="text" id="jG" name="jG" value="${PartyLeagueMember.jG}"  placeholder="籍贯"  maxlength="100" class="inputText"/>
			    </td>	
			  
			</tr>
			<tr>
			        <td class="table-titleTD" style="width: 15%"><font style="color: red;">*</font>学生党员:</td>
				<td class="table-contentTD" style="width: 35%">
				       <c:if test="${PartyLeagueMember.isStu == '0'}">
				           <input type="radio" value="1" name="isStu" id="isStu1"/><label for="isStu1">是</label>
					   <input type="radio" value="0" name="isStu" id="isStu2" checked="checked" /><label for="isStu2">否</label>
				       </c:if>
				       <c:if test="${PartyLeagueMember.isStu == '1'}">
				          <input type="radio" value="1" name="isStu" id="isStu1" checked="checked" /><label for="isStu1">是</label>
					   <input type="radio" value="0" name="isStu" id="isStu2"/><label for="isStu2">否</label>
				       </c:if>
				</td>
			     <td class="table-titleTD" style="width: 15%"><font style="color: red;">*</font>党籍状态:</td>
				<td class="table-contentTD" style="width: 35%">
				     <c:if test="${PartyLeagueMember.dJZT == '1'}">
		                  <input type="radio" value="1" name="dJZT" id="dJZT1" checked="checked" /><label for="dJZT1">正常</label>
					      <input type="radio" value="0" name="dJZT" id="dJZT2"/><label for="dJZT2">停止党籍</label>		     
				     </c:if>
				     <c:if test="${PartyLeagueMember.dJZT == '0'}">
				          <input type="radio" value="1" name="dJZT" id="dJZT1" /><label for="dJZT1">正常</label>
					      <input type="radio" value="0" name="dJZT" id="dJZT2" checked="checked"/><label for="dJZT2">停止党籍</label> 
				     </c:if>
				</td>
			</tr>
			<tr>
			 <td class="table-titleTD" style="width: 15%"><font style="color: red;">*</font>身份证号:</td>
			     <td class="table-contentTD"  style="width: 35%">
				   <input type="text" id="sFZH" name="sFZH" value="${PartyLeagueMember.sFZH}" placeholder="身份证号"  maxlength="100" class="inputText required" style="width: 70%"
					onkeyup='this.value=this.value.replace(/\D/gi,"")'/>
			    </td>
			    <td class="table-titleTD" style="width: 15%">
			    <font style="color: red;">*</font>出生日期:
			    </td>
			    <td class="table-contentTD" style="width: 15%">
				    <input name="cSRQ" id="cSRQ" 
				    placeholder="出生日期" autocomplete="off"
				      value="${PartyLeagueMember.cSRQ}"
					   class=" Wdate required text"
					   onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
			    </td>		
			</tr>
			<tr>
			    <td class="table-titleTD" style="width: 15%"><font style="color: red;">*</font>民族:</td>
			     <td class="table-contentTD" style="width: 35%">
					<select id="mZ" name="mZ" class="inputText required" style="width: 70%">
						<option value="${PartyLeagueMember.mZ}">${PartyLeagueMember.mZ}</option>
				    </select>
			    </td>	
			    <td class="table-titleTD" style="width: 15%">学历:</td>
			     <td class="table-contentTD" style="width: 35%">
					<select id="wHCD" name="wHCD" class="selectList">
						<option value="${PartyLeagueMember.wHCD}">${PartyLeagueMember.wHCD}</option>
						<option value="专科">小学</option>
						<option value="专科">初中</option>
						<option value="专科">高中</option>
						<option value="专科">专科</option>
						<option value="本科">本科</option>
						<option value="硕士">硕士</option>
						<option value="博士">博士</option>
						<option value="教授">教授</option>
				</select>
			    </td>		
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">联系电话:</td>
				<td class="table-contentTD" style="width: 35%">
					<input type="text" id="lXDH" name="lXDH" placeholder="联系电话"  value="${PartyLeagueMember.lXDH}" maxlength="100" class="inputText"/>
				</td>
				<td class="table-titleTD" style="width: 15%">职称:</td>
				<td class="table-contentTD" style="width: 35%">
					<input type="text" id="zc" name="zc" placeholder="职称"  value="${PartyLeagueMember.zc}" maxlength="100" class="inputText"/>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">户籍所在地:</td>
				<td class="table-contentTD" style="width: auto"  colspan="3">
					<input type="text" id="hJSZD" name="hJSZD" placeholder="户籍所在地"  value="${PartyLeagueMember.hJSZD}" maxlength="100" class="inputText"/>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">家庭住址:</td>
				<td class="table-contentTD" style="width: auto" colspan="3">
					<input type="text" id="jTDZ" name="jTDZ" placeholder="家庭住址"  value="${PartyLeagueMember.jTDZ}" maxlength="100" class="inputText"/>
				</td>

			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">婚姻状态:</td>
				<td class="table-contentTD" style="width: 35%;" colspan="3">
					<input id="hYZK1" type="radio" name="hYZK" value="未婚"/>&nbsp;<label for="hYZK1">未婚</label>
					<input id="hYZK2" type="radio" name="hYZK" value="已婚"/>&nbsp;<label for="hYZK2">已婚</label>
					<input id="hYZK3" type="radio" name="hYZK" value="离婚"/>&nbsp;<label for="hYZK3">离婚</label>
					<input id="hYZK4" type="radio" name="hYZK" value="复婚"/>&nbsp;<label for="hYZK4">复婚</label>
					<script>
						compareRadioValue(document.getElementsByName('hYZK'),'${PartyLeagueMember.hYZK}');
					</script>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">毕业院校:</td>
				<td class="table-contentTD" style="width: auto" colspan="3">
					<input type="text" id="bYYX" name="bYYX" placeholder="毕业院校"  value="${PartyLeagueMember.bYYX}" maxlength="100" class="inputText"/>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">学位:</td>
				<td class="table-contentTD" style="width: 35%">
					<input type="text" id="xW" name="xW" placeholder="学位"  value="${PartyLeagueMember.xW}"  maxlength="100" class="inputText"/>
				</td>
				<td class="table-titleTD" style="width: 15%">参加工作时间:</td>
				<td class="table-contentTD" style="width: 35%">
					<input name="cJGZSJ" id="cJGZSJ" placeholder="参加工作时间" autocomplete="off"
						   class=" Wdate inputText2" value="${PartyLeagueMember.cJGZSJ}"
						   onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">工作单位及职务:</td>
				<td class="table-contentTD" style="width: auto" colspan="3">
					<input type="text" id="gZDWJZW" name="gZDWJZW" placeholder="工作单位及职务"  value="${PartyLeagueMember.gZDWJZW}"  maxlength="100" class="inputText"/>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">入党时所在党支部:</td>
				<td class="table-contentTD" style="width: auto" colspan="3">
					<input type="text" id="rDSSZDZB" name="rDSSZDZB" placeholder="入党时所在党支部"  value="${PartyLeagueMember.rDSSZDZB}"  maxlength="100" class="inputText"/>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">党内职务:</td>
				<td class="table-contentTD" style="width: 35%">
					<input type="text" id="dNZW" name="dNZW" placeholder="党内职务"  value="${PartyLeagueMember.dNZW}"  maxlength="100" class="inputText"/>
				</td>
				<td class="table-titleTD" style="width: 15%">进入党支部日期:</td>
				<td class="table-contentTD" style="width: 35%">
					<input name="jRDZBRQ" id="jRDZBRQ" placeholder="进入党支部日期" autocomplete="off"
						   class=" Wdate inputText2" value="${PartyLeagueMember.jRDZBRQ}"
						   onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">党员类别-单位:</td>
				<td class="table-contentTD" style="width: auto" colspan="3">
					<input id="dYLB_DW1" type="radio" name="dYLB_DW" value="农村"/>&nbsp;<label for="dYLB_DW1">农村</label>
					<input id="dYLB_DW2" type="radio" name="dYLB_DW" value="社区"/>&nbsp;<label for="dYLB_DW2">社区</label>
					<input id="dYLB_DW3" type="radio" name="dYLB_DW" value="机关"/>&nbsp;<label for="dYLB_DW3">机关</label>
					<input id="dYLB_DW4" type="radio" name="dYLB_DW" value="事业单位"/>&nbsp;<label for="dYLB_DW4">事业单位</label>
					<input id="dYLB_DW5" type="radio" name="dYLB_DW" value="国有企业"/>&nbsp;<label for="dYLB_DW5">国有企业</label>
					<input id="dYLB_DW6" type="radio" name="dYLB_DW" value="非公有制企业"/>&nbsp;<label for="dYLB_DW6">非公有制企业</label>
					<input id="dYLB_DW7" type="radio" name="dYLB_DW" value="社会组织"/>&nbsp;<label for="dYLB_DW7">社会组织</label>
					<input id="dYLB_DW8" type="radio" name="dYLB_DW" value="其他"/>&nbsp;<label for="dYLB_DW8">其他</label>
					<script>
						compareRadioValue(document.getElementsByName('dYLB_DW'),'${PartyLeagueMember.dYLB_DW}');
					</script>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">党员类别-生活:</td>
				<td class="table-contentTD" style="width: auto" colspan="3">
					<input id="dYLB_SH1" type="radio" name="dYLB_SH" value="生活困难党员"/>&nbsp;<label for="dYLB_SH1">生活困难党员</label>
					<input id="dYLB_SH2" type="radio" name="dYLB_SH" value="离退休党员"/>&nbsp;<label for="dYLB_SH2">离退休党员</label>
					<script>
						compareRadioValue(document.getElementsByName('dYLB_SH'),'${PartyLeagueMember.dYLB_SH}');
					</script>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">党员流动情况：</td>
				<td class="table-contentTD"  style="width: 30%">
					<input id="dYLDQK" type="checkbox" name="dYLDQK" value="1" />
					<script>
						compareRadioValue(document.getElementsByName('dYLDQK'),'${PartyLeagueMember.dYLDQK}');
					</script>
				</td>
				<td class="table-titleTD" style="width: 15%">流入地(单位)：</td>
				<td class="table-contentTD"  style="width: 30%">
					<input type="text" id="dYLRD" name="dYLRD" placeholder="流入地(单位)"  value="${PartyLeagueMember.dYLRD}" maxlength="100" class="inputText"/>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">在职党员情况：</td>
				<td class="table-contentTD"  style="width: 30%">
					<input id="zZDYQK" type="checkbox" name="zZDYQK" value="1" />
					<script>
						compareRadioValue(document.getElementsByName('zZDYQK'),'${PartyLeagueMember.zZDYQK}');
					</script>
				</td>
				<td class="table-titleTD" style="width: 15%">报到社区：</td>
				<td class="table-contentTD"  style="width: 30%">
					<input type="text" id="bDSQ" name="bDSQ" placeholder="报到社区"  value="${PartyLeagueMember.bDSQ}"  maxlength="100" class="inputText"/>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">特殊状态:</td>
				<td class="table-contentTD" style="width: 35%;" colspan="3">
					<input id="tSZT1" type="radio" name="tSZT" value="口袋党员"/>&nbsp;<label for="tSZT1">"口袋"党员</label>
					<input id="tSZT2" type="radio" name="tSZT" value="参教信教党员"/>&nbsp;<label for="tSZT2">参教信教党员</label>
					<input id="tSZT3" type="radio" name="tSZT" value="保留组织关系"/>&nbsp;<label for="tSZT3">保留组织关系</label>
					<input id="tSZT4" type="radio" name="tSZT" value="停止党籍"/>&nbsp;<label for="tSZT4">停止党籍</label>
					<input id="tSZT5" type="radio" name="tSZT" value="死亡"/>&nbsp;<label for="tSZT5">死亡</label>
					<script>
						compareRadioValue(document.getElementsByName('tSZT'),'${PartyLeagueMember.tSZT}');
					</script>
				</td>
			</tr>
			<tr>
				<td class="table-titleTD" style="width: 15%">个人简介:</td>
				<td class="table-contentTD" colspan="3" style="width: auto;">
				 <textarea rows="5" cols="50" name="gRJJ" id="gRJJ"  placeholder="个人简历" id="remark" class="inputText" maxlength="2000" >${PartyLeagueMember.gRJJ}</textarea>
			    </td>
			</tr> 
		</table>
		<br />
		<table cellpadding="1" cellspacing="1" border="0" align="left">
		<c:if test="${_login_user_type==2}">
			<tr>
				<td>
			  <kl:permission permisstionList="${permisstionList}"
               currentUser="${_login_console_user}"
               currentCatalogId="<%=CatalogUtils.getCatalogId(\"ZHDJ_GRDJ_DYGL\")%>" key="modify">
				<input type="button" id="btnSave" class="inputButton"
					style="text-align: center;" value="保存" />
				  </kl:permission>
				</td>
				<td>
				<kl:permission permisstionList="${permisstionList}"
               currentUser="${_login_console_user}"
               currentCatalogId="<%=CatalogUtils.getCatalogId(\"ZHDJ_GRDJ_DYGL\")%>" key="modify">
				<input type="button" id="btnSaveContinue" class="inputButton"
					style="text-align: center;" value="保存并新增" />
				</kl:permission>
				</td>
				<td><input type="button" id="Cancel" class="inputButton"
					style="text-align: center;" value="取消" /></td>
				<td><input type="button" id="returnBut" class="inputButton"
					value="返回" style="text-align: center;" /></td>
			</tr>
	   </c:if>	
		</table>
	</form>
	<div id="div1" style="display: none;">
			<table cellpadding="0" cellspacing="0" border="0" class="table-border">
				  <tr>
					  	 <td style="clear:both; width: 70%">
					  	  <input class="text" name="searchemp" ondblclick="javascript:filterSelectItems('sourseFromSelect2','fromSelect','fromSelect',this.value);"  onkeyup="javascript:filterSelectItems('sourseFromSelect2','fromSelect','fromSelect',this.value);"/><font color="green">在此查找</font> <br/>
					  	   <br/><label style="color:red;">未选中:</label><br/>
					  	   <select name="fromSelect" id="fromSelect" multiple="multiple"  size="1"  multiple="false" style="width:200px; height: 250px;"
								ondblclick="moveField('fromSelect','toSelect');">
									<c:forEach items="${employees}" var="data">
							       <option value="${data.emid}">${data.xm}</option>
						          </c:forEach>
						          <c:forEach items="${student}" var="data2">
							       <option value="${data2.xsid}">${data2.xm}</option>
						          </c:forEach>
							</select>
							 <select name="sourseFromSelect2" id="sourseFromSelect2"   multiple="false" style="width: 220px; height: 150px; display: none;" >
								  <c:forEach items="${employees}" var="data">
							       <option value="${data.emid}">${data.xm}</option>
						          </c:forEach>
						           <c:forEach items="${student}" var="data2">
							       <option value="${data2.xsid}">${data2.xm}</option>
						          </c:forEach>
	  	                       </select> 
						  </td>
  	              </tr>
			</table>
	    </div>
	<script>
			/* 选择 */
		   function showdiv() {
				$('#div1').dialog('open');
			} 
		   if("${msg}"!=""){
		       layer.alert("${msg}", {icon: 6});
		  }
		</script>
</body>
</html>
